package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.util.Date;

public class AuRole implements Serializable {
    /**
    * 主键id
    */
    private Long id;

    /**
    * 角色编码
    */
    private String roleCode;

    /**
    * 角色名称
    */
    private String roleName;

    /**
    * 创建日期
    */
    private Date createDate;

    /**
    * 是否启用（0、未启用1、启用）
    */
    private Integer isStart;

    /**
    * 创建者
    */
    private String createdBy;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getIsStart() {
        return isStart;
    }

    public void setIsStart(Integer isStart) {
        this.isStart = isStart;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", roleCode=").append(roleCode);
        sb.append(", roleName=").append(roleName);
        sb.append(", createDate=").append(createDate);
        sb.append(", isStart=").append(isStart);
        sb.append(", createdBy=").append(createdBy);
        sb.append("]");
        return sb.toString();
    }
}